﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BlackBoard
{
    class BlackBoardControl
    {
	    private IBlackBoard blackboard;
	    //private HashSet<String, IKnowledgeSource> knowledgeSources = new HashMap<String, IKnowledgeSource>(); 
	    private String controlScriptPathConfigName = "BlackBoardControlScriptPath";
	
	    public BlackBoardControl()
        {
	    }
	
	    public IBlackBoard getBlackboard() 
        {
		    return blackboard;
	    }
	
	    public void setBlackboard(IBlackBoard blackboard) 
        {
		    this.blackboard = blackboard;
	    }

        //public void setKnowledgeSources(HashSet<String, IKnowledgeSource> knowledgeSources) 
        //{
        //    this.knowledgeSources = knowledgeSources;
        //}
	
	    public void processUserInput(String userInput, DateTime time)
        {
		    blackboard.newTurn();
            //do 
            //blackboard.Add(new BlackBoardEntry(BlackBoarEntryType.ORIGINAL_TEXT, userInput));
            //blackboard.Add(new BlackBoardEntry(BlackBoarEntryType.ORIGINAL_TEXT_TIME, time));

			//executeKnowledgeSources(null);  

	    }
        //public int executeKnowledgeSources(BlackBoardEntry entry) 
        //{
		  
        //}
    }
}
